package com.nxy.spring.logic

import org.springframework.cloud.netflix.feign.FeignClient
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RequestMethod

@FeignClient("nxy-provide")
interface ProvideClient{

    @RequestMapping(method = arrayOf(RequestMethod.GET), value = "/")
    fun hello():String

}